package com.example.xpvideo.service;

import com.example.xpvideo.entity.Comment;
import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.ReplyList;
import com.example.xpvideo.entity.req.SecondReplyList;
import com.example.xpvideo.entity.req.UpdateReq;
import com.example.xpvideo.entity.res.GoodsCommentsRes;
import com.example.xpvideo.entity.res.SecondComments;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * 评论表(Comment)Service层
 *
 * @author 杨丽辉
 * @since 2021-08-18 13:55:54
 */

public interface CommentService {
    ResponseResult<PageResult<List<GoodsCommentsRes>>> replyList(ReplyList replyList)throws Exception;

    ResponseResult<PageResult<List<SecondComments>>> secondReplyList(SecondReplyList secondReplyList)throws Exception;
    ResponseResult<Object> deleteComment(UpdateReq updateReq) throws ErrorException;

}




